package cn.ehanghai.iot;

import cn.ehanghai.iot.common.mapper.BaseMapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@MapperScan(basePackages = "cn.ehanghai.iot", markerInterface = BaseMapper.class)
@ComponentScan("cn.ehanghai.iot")
public class IotServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(IotServiceApplication.class, args);
    }

}
